package com.hwx.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Desc: Zuul网关服务启动类
 * @Author: hwx
 * @Date: 2020/5/26 14:32
 * @Version: v1.0
 **/
@SpringBootApplication
@EnableDiscoveryClient    //Eureka的服务发现，可省略不写
@EnableZuulProxy    //开启Zuul的网关功能
public class ZuulServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(ZuulServerApplication.class, args);
	}

}
